<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
    String serverDomain = "http://developer.winit.com.cn/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<meta name="description" content="">
<meta name="author" content="">

<title>WINIT OAuth授权</title>

<!-- Bootstrap core CSS -->
<link href="js/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="css/base.css" rel="stylesheet">

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
	<!-- header -->
	<div id="header">
		<div class="lay-top">
			<div class="lay-top-inner clearfix">
				<i class="logo"></i>
				<div class="text-hide clearfix">
					<i class="logo-line m-lr-20"></i> <span>账户授权</span>
				</div>
			</div>
		</div>
	</div>
	<!-- /header -->
	<!-- content -->
	<div id="content" class="authorization-content">
		<div class="clearfix">
			<div class="winit-logo2"></div>
			<div class="icon-circular">
				<i class="icon right-arrow"></i>
			</div>
			<div class="tongtu-logo">

				<img src="<%=serverDomain %>${client_logo}" alt="${client_name}">

			</div>
		</div>
		<div id="form-scope" class="form-scope clearfix">
			<form action="implicitGrant" method="post" id="searchForm">
				<input type="hidden" name="client_id" value="${client_id}">
				<input type="hidden" name="response_type" value="${response_type}">
				<input type="hidden" name="redirect_uri" value="${redirect_uri}">
				<input type="hidden" name="state" value="${state}"> <input
					type="hidden" name="client_url" value="${client_url}">
				<div class="form-left float-left">
					<div>
						<label class="form-scope-left">您正在进行万邑通账户授权</label>
						<div class="form-group row">
							<div class="col-md-6 text-orange valivate-infor visibility">
								<span class="glyphicon glyphicon-exclamation-sign"></span> <span
									class="login-prompt"></span>
							</div>
						</div>
						<div class="form-group row">
							<div class="col-md-6">
								<span
									class="glyphicon glyphicon-user form-control-feedback input-position"></span>
								<input type="text" class="form-control input-login"
									id="username" name="username" placeholder="请输入登录账户" autofocus>
							</div>
						</div>
						<div class="form-group row">
							<div class="col-md-6">
								<span
									class="glyphicon glyphicon-lock form-control-feedback input-position"></span>
								<input type="password" class="form-control input-login"
									id="password" name="password" placeholder="请输入登录密码">
							</div>
						</div>
						<div class="clearfix m-t-40">
							<div class="m-r-35 float-left">
								<button class="confirm-button" type="submit">授权</button>
							</div>
							<div class="float-left other-operations">
								<a href="${client_url}" class="m-xs-lr">取消</a>
							</div>
						</div>
					</div>
				</div>
				<div class="float-left">
					<div class="m-l-65 m-t-10">
						<label class="form-scope-right"><a href="javascript:;"
							class="operative-title"></a>将获得以下权限：</label>
						<div>
							<ul class="accredit-info-op">
								<li class="all-border-dashed"><input type="checkbox"
									checked="checked" name="" id="item-all"
									class="oauth-checkbox-all"> <label for="item-all"
									class="oauth-item-title">全部</label></li>
								<li><input type="checkbox" checked="checked" name=""
									id="item-2" class="oauth-checkbox"> <label for="item-2"
									class="oauth-item-title">商品信息查询权限</label></li>
								<li><input type="checkbox" checked="checked" name=""
									id="item-3" class="oauth-checkbox"> <label for="item-3"
									class="oauth-item-title">商品库存查询权限</label></li>
								<li><input type="checkbox" checked="checked" name=""
									id="item-4" class="oauth-checkbox"> <label for="item-4"
									class="oauth-item-title">海外仓出库订单提交权限</label></li>
								<li><input type="checkbox" checked="checked" name=""
									id="item-4" class="oauth-checkbox"> <label for="item-4"
									class="oauth-item-title">创建ISP订单权限</label></li>
							</ul>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
	<!-- /content -->
	<!-- footer -->
	<div id="footer" class="app-footer b-t" role="footer">
		<div class="text-center">Copyright WINIT CORPORATION. All Rights
			Reserved</div>
	</div>
	<!-- /footer -->
	<script src="js/jquery/1.12.4/jquery.min.js"></script>
	<script src="js/bootstrap/js/bootstrap.min.js"></script>
	<script src="js/common.js"></script>

</body>
</html>